{% extends "base.html" %}
{% block content %}
<div class="container mt-4">
    <h2>设置 {{ project.title }} 的截止日期</h2>
    <form method="post">
        {% csrf_token %}
        <div class="mb-3">
            <label for="id_end_date" class="form-label">新的截止日期:</label>
            <input type="date" class="form-control" id="id_end_date" name="end_date" value="{{ project.end_date|date:'Y-m-d' }}">
        </div>
        <button type="submit" class="btn btn-success">保存</button>
    </form>
</div>
{% endblock %}
